package com.jsb.laundry.model.dto.posts;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 帖子创建请求
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "帖子创建请求参数")
public class PostAddRequest implements Serializable {

    @ApiModelProperty(value = "帖子标题",dataType = "string",required = true)
    private String title;

    @ApiModelProperty(value = "帖子内容",dataType = "string",required = true)
    private String content;

    @ApiModelProperty(value = "标签列表",dataType = "string")
    private String images;

    @ApiModelProperty(value = "用户id",dataType = "string",required = true)
    private String userId;

    @ApiModelProperty(value = "标签列表",dataType = "string")
    private String tags;

    private static final long serialVersionUID = 1L;
}